

def lj_debug(key):
    """节流函数"""
    def decorator(fn):
        def throttled(*args, **kwargs):
            print(f"debug {key} 入参: {args} ___ {kwargs} ___ ...")
            res = fn(*args, **kwargs)
            print(f"debug {key} 出参: {res} ___ ...")
            return res
        return throttled
    return decorator
